import QtQuick 1.0
import com.nokia.symbian 1.0

BusyIndicator {
    id: indicator

    z: 2;

    function open() {
        indicator.focus = true;
        indicator.visible = true;
    }

    function close() {
        indicator.focus = false;
        indicator.visible = false;
        //indicator.state = "";
    }

    anchors.centerIn: parent
    width: 50; height: 50
    running: false

    Component.onCompleted: indicator.close()
}
